package org.csmzxy.class2333;

public class MyThread01 extends Thread{
    @Override
    public void run() {
        while (true) {
            System.out.println("线程" + Thread.currentThread().getName()+":run()方法在运行");
            try{
                Thread.sleep(1000);
            }catch (InterruptedException e){
                e.printStackTrace();
            }
        }
    }
}
